Unlabelled ordered DAGs and labelled DAGs: constructive enumeration and uniform random sampling
نویسندگان
چکیده
Directed Acyclic Graphs (DAGs) are directed graphs in which there is no path from a vertex to itself. DAGs an omnipresent data structure computer science and the problem of counting given number vertices has been solved 70’s by Robinson. In many applications one needs construct connected control their edges, but adaptation Robinson’s enumeration take this into account led formulas based on inclusion-exclusion principle, inducing high computational cost for uniform random sampling formula. present paper we propose two contributions. First enumerate new class DAGs, enriched with independent ordering children each vertex, according numbers edges. We obtain constructive recursive formula them (i.e. without using principle) decomposition scheme. Then show applicability our method proposing labelled same decomposition. As consequence able derive efficient samplers both models.
منابع مشابه
Ordered Dags: HypercubeSort
We generalise the insertion into a binary heap to any directed acyclic graph (DAG) with one source vertex. This lets us formulate a general method for converting any such DAG into a data structure with priority queue interface. We apply our method to a hypercube DAG to obtain a sorting algorithm of complexity $\mathcal{O}(n\log^2 (n))$. As another curious application, we derive a relationship b...
متن کاملCounting and Uniform Sampling from Markov Equivalent DAGs
We propose an exact solution for the problem of finding the size of a Markov equivalence class (MEC). For the bounded degree graphs, the proposed solution is capable of computing the size of the MEC in polynomial time. Our proposed approach is based on a recursive method for counting the number of the elements of the MEC when a specific vertex is set as the source variable. We will further use ...
متن کاملLong and short paths in uniform random recursive dags
In a uniform random recursive k-dag, there is a root, 0, and each node in turn, from 1 to n, chooses k uniform random parents from among the nodes of smaller index. If Sn is the shortest path distance from node n to the root, then we determine the constant σ such that Sn/ logn → σ in probability as n → ∞. We also show that max1≤i≤n Si/ logn → σ in probability.
متن کاملBulk Synchronous Parallel Scheduling of Uniform Dags
This paper addresses the dag scheduling problem, proposing the bulk synchronous parallel (BSP) model as a framework for the derivation of general purpose parallel computer schedules of uniform dags, i.e., of dags that stand for tightly-nested loops with computable distance vectors. A general technique for the BSP scheduling of normalised uniform dags is introduced and analysed in terms of the B...
متن کاملRandom Generation of Dags for Graph Drawing
The Graph Drawing community uses test suites for comparing layout quality and e ciency. Those suites often claim to collect randomly generated graphs, although in most cases randomness is a loosely de ned notion. We propose a simple algorithm for generating acyclic digraphs with a given number of vertices uniformly at random. Applying standard combinatorial techniques, we describe the overall s...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Procedia Computer Science
سال: 2021
ISSN: ['1877-0509']
DOI: https://doi.org/10.1016/j.procs.2021.11.057